const gulp = require('gulp');
var typedoc = require('gulp-typedoc');
gulp.task('default', function() {
  return gulp.src(['../src/**/*.ts', "'!../**/*.spec.ts'"]).pipe(
    typedoc({
      module: 'commonjs',
      declaration: false,
      noImplicitAny: false,
      removeComments: true,
      noLib: false,
      allowSyntheticDefaultImports: true,
      emitDecoratorMetadata: true,
      experimentalDecorators: true,
      target: 'es6',
      out: 'dist/',
      name: 'TS Doc',
      "exclude": [
        "**/*.spec.ts"
      ]
    }),
  );
});
